package com.qf.demo1.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.qf.demo1.entity.Category;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface CategoryDao extends BaseMapper<Category> {
    List<Category> selectAll();

    List<Category> selectCate(@Param("categoryId") Integer categoryId);
}
